package com.lin.controller.req;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class AddQuestionsReqMsg {

    @NotNull(message = "客户不能为空")
    private Long customerId;

    @NotBlank(message = "标题不能为空")
    private String title;

    @NotBlank(message = "内容不能为空")
    private String contents;

    private String fileurl;
}
